package com.shujia.wyh.day12.homework.mon;

public class Centipede extends Monster{

    public Centipede(String name, int blood, int aggressivity) {
        super(name, blood, aggressivity);
    }

    @Override
    public void move() {
        System.out.println("我是蜈蚣精，御风飞行");
    }

    public void show() {
        attack();
        System.out.println("当前生命值是:" + getBlood());
        System.out.println("攻击力是:" + getAggressivity());
        move();
    }
}
